<template>
  <div class="layout1">
    <router-view v-if="this.$route.meta.NotFound"></router-view>
    <el-container v-else>
      <!-- 侧标蓝 -->
      <slide />
      <!-- 主体 -->
      <container />
    </el-container>
  </div>
</template>

<script>
import slide from "./slide.vue";
import container from "./container.vue";
export default {
  name: "layout1",
  data() {
    return {};
  },
  components: {
    slide,
    container,
  },
  created() {
    // console.log(this.$router.options.routes);
  },
};
</script>

<style  scoped>
.layout1 {
  height: 100vh;
  /* border: 1px solid rgb(212, 208, 208); */
}
.el-container {
  height: 100%;
  padding: 0;
}
</style>
